<%@ taglib
      uri="http://struts.apache.org/tags-html"
      prefix="html" %>
 
<ul class="topnav">
	<li><a href="/CV_Management_Datagraf/protected/home.jsp">Home</a></li>
	<%
 		if (request.isUserInRole("ROLE_cv.guest")) {
	%>
	<li><html:link action="/guest/ListCvs.do">List Cvs</html:link></li>
	<%
		} else if (request.isUserInRole("ROLE_cv.owner")) {
	%>
	<li><html:link page="/owner/editCv.do">Edit CV</html:link></li>
	<li><html:link action="/owner/ownerRemove.do">Remove CV</html:link></li>
	<li>
	<html:link page="/protected/owner/insertCv.jsp">Insert CV</html:link>
	</li>
	<%
		} else {
	%>
	<li><html:link action="/master/ListCvs.do">List Cvs</html:link></li>
	<%
		}
	%>
	<li><a href='<c:url value="/j_spring_security_logout"/>'>Logout</a></li>
</ul>
